Anthony Davis poured in 29 points and Cooper Flagg chipped in with 19 of his own as the Dallas Mavericks defeated the Houston Rockets 122-109.